package com.myframe.www.net;


import com.myframe.www.model.remote.bean.LoginBean;

/**
 * Description:
 * Created by Andy Hong on 10/19/2017.
 */

public class ServerField {
    public static final String HEADER_AUTH = "Authorization";
    //加载第一页
    public static final int SERVER_FIRST_INDEX = 1;
    public static final int SERVER_PAGE_SIZE_DEFAULT = 5;

    /**
     * 登录所需的头部值，用于非登录逻辑
     *
     * @return 登录header value
     */
    public static String getAuthorizationHeader() {
        return "Y";
    }

    /**
     * 登录所需的头部值，用于登录逻辑
     *
     * @return 登录header value
     */
//    public static String getLoginHeader(LoginBean loginBean) {
//        return new AuthorizationV2().createAuthorization(loginBean,
//                HttpURL.URL_BASE+"v1.0/users/self", "GET");
//    }


}
